package com.example.cadmin.utils;

import java.util.Arrays;
import java.util.List;

/**
 * 返回命令切割转换为list格式
 */
public class CmdSplitList {

    public static List<String> format(String result) {
        String[] splitCmdData = result.split(":");
        return Arrays.asList(splitCmdData[1].split("/"));
    }
}
